<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>网站查看--mytools管理后台</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
	<input type="hidden" class="id" name="id">
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">网站</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input name" name="name" lay-verify="required" placeholder="请输入名称">
		</div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">网址</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input url" name="url" lay-verify="required" placeholder="请输入网址">
		</div>
	</div>
	<div class="layui-row">
		<div class="magb15 layui-col-md4 layui-col-xs12">
			<label class="layui-form-label">类型</label>
			<div class="layui-input-block type">
				<input type="radio" name="type" value="0" title="源站">
				<input type="radio" name="type" value="1" title="更新">
			</div>
		</div>
	</div>	<div class="layui-row">
		<div class="magb15 layui-col-md4 layui-col-xs12">
			<label class="layui-form-label">状态</label>
			<div class="layui-input-block state">
				<input type="radio" name="state" value="0" title="启用">
				<input type="radio" name="state" value="1" title="禁用">
			</div>
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="editWebsite">提交修改</button>
			<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="websiteEdit.js"></script>
</body>
</html>